--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 93dd030e83fe62ab92c9c4464146410a569fadac
Parents : 284c333
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-04-17T00:17:26-05:00
chore(workflows): add Node.js setup and frontend build steps to Android CI
Changes
Diff
diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml
index 69822c15..e3296d1a 100644
--- a/.github/workflows/android-build.yml
+++ b/.github/workflows/android-build.yml
@@ -3,6 +3,7 @@ name: Android build
# Pinned first-party actions (bump tag and SHA together when upgrading):
# actions/checkout@v6.0.1 8e8c483db84b4bee98b60c0593521ed34d9990e8
# actions/setup-python@v6.2.0 a309ff8b426b58ec0e2a45f0f869d46889d02405
+# actions/setup-node@v6.1.0 395ad3262231945c25e8478fd5baf05154b1d79f
# actions/setup-java@v4.7.1 c5195efecf7bdfc987ee8bae7a71cb8b11521c00
# actions/upload-artifact@v5.0.0 330a01c490aca151604b8cf639adc76d48f6c5d4
@@ -36,6 +37,9 @@ concurrency:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
+ NODE_OPTIONS: --max-old-space-size=8192
+ NODE_VERSION: "24"
+ PNPM_VERSION: "10.32.1"
PYTHON_VERSION: "3.11"
JAVA_VERSION: "17"
CHAQUOPY_REF: "9f563f45108a873d7feb363e1f754c0173f1114e"
@@ -63,6 +67,20 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}
+ - name: Set up Node
+ uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f
+ with:
+ node-version: ${{ env.NODE_VERSION }}
+
+ - name: Enable pnpm
+ run: corepack enable && corepack prepare "pnpm@${PNPM_VERSION}" --activate
+
+ - name: Install frontend dependencies
+ run: pnpm install --frozen-lockfile
+
+ - name: Build frontend (meshchatx/public for APK)
+ run: pnpm run build-frontend
+
- name: Install Android wheel build dependencies
run: |
sudo apt-get update
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────